# '''
# for循环
# 语法：
# for 变量 in 取值列表:
#     执行的操作
# '''
# # range(5) 0 1 2 3 4 代表5次的循环
#
# # for i in range(1,6):
# #     print("第%d次循环开始" % i)
# #     print("------------")
# #     print("第%d次循环结束\n" % i)
#
# # 终端循环 跳过某次操作不执行contine
#
# # for i in range(1,6):
# #     if i == 3:
# #         continue
# #     else:
# #         print("第%d次循环开始" % i)
# #         print("------------")
# #         print("第%d次循环结束\n" % i)
#
# # break    中断整个循环
#
# # for i in range(1,6):
# #     if i == 3:
# #         break
# #     else:
# #         print("第%d次循环开始" % i)
# #         print("------------")
# #         print("第%d次循环结束\n" % i)
#
#
# # while循环
# import time
# # while True:
# #     print("while循环测")
# #     time.sleep(2)  # 暂停两秒
# print(time.ctime())
# number = 7
# for i in range(number):
#     for j in range( number - i + 1):
#         print(" ",end="")
#     for k in range(i + 1):
#         print("* ",end="")
#     print()

# n = 7
# for i in range(n):
#     for j in range(i):
#         print(" ",end="")
#     for k in range(n-i):
#         print("1 ",end="")
#     print()
# nums = [3,2,4]
# target = 6
# for i in range(len(nums)):
#     for j in range(i + 1,len(nums)):
#         if nums[i] + nums[j] == target:
#             print(j,i)
l1 = [2,4,3]
l2 = [5,6,4]
sum1 = 0
sum2 = 0
for i in l1[::-1]:
    sum1 = sum1 * 10 + i
print(sum1)
for j in l2[::-1]:
    sum2 = sum2 * 10 + j
print(sum2)
sum = sum1 + sum2
print(sum)
ss = ""
while sum > 0:
    u = sum % 10
    print(u)
    ss = ss + str(u)
    sum = sum // 10



